'use strict';

angular.module('fbdApp.ruleModule')

.directive('newRule', function() {
  return {
    scope: {
      testType: '@testType',
      ruleData: '=',
      articleList: '=',
      fileName: '=',
      realFileName: '=',
      savedRule: '=',
      modify: '@'
        // testing: '@testing'
    },
    restrict: 'E',
    replace: true,
    // template: '<h1>testing</h1>'
    templateUrl: 'ruleModule/views/rules.html',
    controller: 'rulesCtrl'
  };
});
